import java.util.Collections;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;

/**
 * Contains entry data for actual nodes and their virtual nodes.
 */
public class Entries {
    
    /**
     * Local hash table for entries. Synchronized so methods do not have to
     * be synchronized.
     */
    private Map<Integer, Set<Entry>> entries = null;

    /**
     * Creates an empty repository for entries.
     */
    public Entries() { 
        this.entries = Collections.synchronizedMap(new TreeMap<Integer, Set<Entry>>());
    }
    
}
